package com.ruoyi.subject.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 公开情报专题-章节与模板关联关系表;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-2-6
 */
@Data
@ToString
@ApiModel(value = "公开情报专题-章节与模板关联关系表", description = "")
public class TemplateCharpter implements Serializable, Cloneable {
    /**
     * 主键
     */
    @TableId(type = IdType.NONE)
    @ApiModelProperty(value = "主键", notes = "")
    private Long id;
    /**
     * 模板id
     */
    @ApiModelProperty(value = "模板id", notes = "")
    private Long templateId;
    /**
     * 章节id
     */
    @ApiModelProperty(value = "章节id", notes = "")
    private Long charpterId;

    /**
     * 章节名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "章节名称", notes = "")
    private String charpterName;

}